

package org.junit.rules;

public class ExpectedExceptionMatcherBuilderAccessor {

    private ExpectedExceptionMatcherBuilderAccessor() {
    }

    public static boolean expectsThrowable(Object target) {
        ExpectedExceptionMatcherBuilder matcherBuilder = (ExpectedExceptionMatcherBuilder) target;
        return matcherBuilder.expectsThrowable();
    }
}
